package ds.linklist.firstlast;

/**链表的普通结点*/
public class Link {

	private int iData;
	Link next = null;
	//---------------------------------
	public Link(int iData){
		this.iData = iData;
	}
	
	public void displayLink()
	{
		System.out.print(iData+" ");
	}
	
	public int getData()
	{
		return iData;
	}
}
